﻿using LJ.WebApi.Abstractions;

namespace LJ.WebApi.Mvc;


public class WebApiHandlerDescriptor(string controller, string action, WebApiType type, Type? routeType, Type? requestType, Type? responseType, Type webApiHandlerType)
{
    public string Controller { get; set; } = controller;

    public string Action { get; set; } = action;

    public WebApiType Type { get; set; } = type;

    public Type? RouteType { get; set; } = routeType;

    public Type? RequestType { get; set; } = requestType;

    public Type? ResponseType { get; set; } = responseType;

    public Type WebApiHandlerType { get; set; } = webApiHandlerType;
}
